<script>
	import Vue from 'vue'
	import setMsgStatus from '@/utils/setMsgStatus.js'
	export default {
		onLaunch() {
			// openinstall 配置
			// const openinstall = uni.requireNativePlugin('openinstall-plugin');
			// openinstall.getInstall(
			//     8,
			//     function(result) {
			//         console.log('getInstall : channel=' + result.channelCode + ', data=' + result.bindData);
			//     }
			// );
		},
		onShow: function() {
			setMsgStatus(true)
			uni.setStorageSync('goPath',true)
			console.log('App Show')
			// this.$store.dispatch('home/changeShow',true)
		},
		onHide: function() {
			setMsgStatus(false)
			console.log('App Hide')
			// this.$store.dispatch('home/changeShow',false)
		}
	}
</script>

<style>
    /* #ifndef APP-PLUS-NVUE */
    /* uni.css - 通用组件、模板样式库，可以当作一套ui库应用 */
    @import './common/uni.css';
	@import 'static/font.css';

 
    /* #endif*/
	
	/* #ifndef APP-NVUE */
	page{
			background: #0C0B18;
			color: #fff;
			height: 100%;
			box-sizing: border-box;
		padding-top: var(--status-bar-height);
	}
	
	.ac {
		text-align: center;
	}
	
	.al {
		text-align: left;
	}
	
	.ar {
		text-align: right;
	}
	
	.flex-jc-ac {
		display: flex;
		justify-content: center;
		align-items: center;
	}
	
	.pd-lr36 {
		padding: 0 36upx;
	}
	
	.fs28{
		font-size: 28upx;
	}
	.fs32{
		font-size: 32upx;
	}
	image {
		width: 100%;
		height: 100%;
	}
	.my-index{
		font-size: 24upx;
		color:#747384;
		position:absolute;
		top:0;
		left:0;
		right:0;
		bottom:0;
	}
	.color-DFB{
		color: #DDDBFB;
		letter-spacing:2upx
	}
	.flex{
		display: flex;
	}
	.flex-column{
		display: flex;
		flex-flow: column;
	} 
	
	/* #endif */
	
</style>

